package com.zzyl.nursing.service;

import java.util.List;
import java.util.Map;

import com.zzyl.nursing.domain.Device;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.DeviceDto;
import com.zzyl.nursing.vo.DeviceDetailVo;
import com.zzyl.nursing.vo.ProductVo;

/**
 * 设备Service接口
 *
 * @author ruoyi
 * @date 2025-01-14
 */
public interface IDeviceService extends IService<Device> {

    /**
     * 查询设备列表
     *
     * @param device 设备
     * @return 设备集合
     */
    public List<Device> selectDeviceList(Device device);


    void syncProductList();

    List<ProductVo> allProduct();

    void register(DeviceDto deviceDto);

    DeviceDetailVo getDetail(String iotId);

    List<Map<String, Object>> queryServiceProperties(String iotId);

    void updateDevice(DeviceDto deviceDto);

    void deleteDevice(String iotId);
}
